package cn.johnyu;

import cn.johnyu.server.ChatServer;
import cn.johnyu.server.LoginServer;

public class ChatApp {
    public static void main(String[] args) throws Exception{
        System.out.println("聊天服务启动，port:"+9000);
        System.out.println("登录服务启动，port:"+9001);
        new LoginServer().start(9001);
        new ChatServer().start(9000);


    }
}
